/*
 * Copyright (c) 2025 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef CANVAS_PEN_TEST_H
#define CANVAS_PEN_TEST_H

#include "napi/native_api.h"
#include <js_native_api_types.h>
#include <napi/native_api.h>
#include <vector>

void addCanvasPenTest(std::vector<napi_property_descriptor>& descData);
napi_value OH_Drawing_CanvasDrawPixelMapRectConstraintSuccess(napi_env env, napi_callback_info info);
napi_value OH_Drawing_CanvasDrawPixelMapRectConstraintFail(napi_env env, napi_callback_info info);
napi_value OH_Drawing_CanvasDrawPointSuccess(napi_env env, napi_callback_info info);
napi_value OH_Drawing_CanvasDrawPointFail(napi_env env, napi_callback_info info);
napi_value OH_Drawing_CanvasDrawColorSuccess(napi_env env, napi_callback_info info);
napi_value OH_Drawing_CanvasDrawColorFail(napi_env env, napi_callback_info info);
napi_value OH_Drawing_CanvasDrawSingleCharacterSuccess(napi_env env, napi_callback_info info);
napi_value OH_Drawing_CanvasDrawSingleCharacterFail(napi_env env, napi_callback_info info);
napi_value OH_Drawing_CanvasDrawSingleCharacterWithFeaturesSuccess(napi_env env, napi_callback_info info);
napi_value OH_Drawing_CanvasDrawSingleCharacterWithFeaturesFail(napi_env env, napi_callback_info info);
napi_value OH_Drawing_CanvasClipRegionSuccess(napi_env env, napi_callback_info info);
napi_value OH_Drawing_CanvasClipRegionFail(napi_env env, napi_callback_info info);
napi_value OH_Drawing_CanvasIsClipEmptySuccess(napi_env env, napi_callback_info info);
napi_value OH_Drawing_CanvasIsClipEmptyFail(napi_env env, napi_callback_info info);
napi_value OH_Drawing_CanvasGetImageInfoSuccess(napi_env env, napi_callback_info info);
napi_value OH_Drawing_CanvasGetImageInfoFail(napi_env env, napi_callback_info info);
napi_value OH_Drawing_PenGetAlphaFloatSucccess(napi_env env, napi_callback_info info);
napi_value OH_Drawing_PenGetRedFloatSucccess(napi_env env, napi_callback_info info);
napi_value OH_Drawing_PenGetGreenFloatSucccess(napi_env env, napi_callback_info info);
napi_value OH_Drawing_PenGetBlueFloatSuccess(napi_env env, napi_callback_info info);

#endif //CANVAS_PEN_TEST_H

